import Vue from 'vue'
import App from './App.vue'
import '@/styles/index.scss'
import '@/assets/iconfont.css'
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios";
import ElementUI from 'element-ui';
import local from 'element-ui/lib/locale/lang/zh-CN'
// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'
Vue.config.productionTip = false
Vue.use(ElementUI,{ size: 'small',local });
Vue.use(dataV)
if (typeof window !== 'undefined') {
  window.axios = axios
}
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
}).$mount('#app')
